package com.credit.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the credit_base_params database table.
 * 
 */
@Entity
@Table(name="credit_base_params")
//@NamedQuery(name="CreditBaseParam.findAll", query="SELECT c FROM CreditBaseParam c")
public class CreditBaseParam extends IdEntity implements Serializable {


	private String code;

	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;

	private String name;

	private int parentId;

	private byte selected;

	private int status;

	private String type;
	
	private String label;

	@Temporal(TemporalType.TIMESTAMP)
	private Date updateTime;

	private int value;

	public CreditBaseParam() {
	}

	

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getParentId() {
		return this.parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public byte getSelected() {
		return this.selected;
	}

	public void setSelected(byte selected) {
		this.selected = selected;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getValue() {
		return this.value;
	}

	public void setValue(int value) {
		this.value = value;
	}



	public String getLabel() {
		return label;
	}



	public void setLabel(String label) {
		this.label = label;
	}
	
	

}